<?php
if (!isset($isSignup)) {
    $this->menu = array(
        //array('label' => 'List Member', 'url' => array('site/login')),
        //array('label' => 'Create Member', 'url' => array('create')),
        //array('label' => 'Update Member', 'url' => array('update', 'id' => $model->member_id)),
        //array('label' => 'Delete Member', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->member_id), 'confirm' => 'Are you sure you want to delete this item?')),
        //array('label' => 'Manage Member', 'url' => array('admin')),
    );
    ?>
    <h1>View Member #<?php echo $model->member_id; ?></h1>
    <?php
} else {
    echo "<div class='success'>Your account has been created successfully with following options. Dont forget to write down your security code in a safe place. <b style='color:red'>Please check your email(Inbox/Spam) to activate your account</b></div>";
}
?>

<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
     //   'member_id',
        'first_name',
        'last_name',
        'email',
        'username',
//        'password',
       // 'security_question_id',
        'security_answer',
        'security_code',
       // 'upline_id',
       // 'agree_to_tos',
    ),
));
?>
